package com.newgrand.annexserver.exception;

/**
 * @author ：minyang
 * @date ：Created in 2019/9/8 15:48
 */
public class NoDataSourceException extends RuntimeException {
    private String code;
    private String msg;

    public NoDataSourceException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public NoDataSourceException(String msg) {
        this.code = null;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
